package org.raymond.iworks.apis.vo.permission;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.raymond.iworks.apis.vo.BaseVO;

@Data
public class PermissionInfoVO extends BaseVO {
    /**
     * 权限Id
     */
    @EqualsAndHashCode.Include
    private Long id;
    private Long parentId;
    /**
     * 资源名称
     */
    @NotEmpty(message = "name不能为空")
    private String name;
    private String uri;
    private String type;
    private String state;
}
